<#import "layout.ftl" as layout/>
<@layout.default>
<style type="text/css">
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojox/grid/resources/Grid.css";
@import "http://ajax.googleapis.com/ajax/libs/dojo/1.6/dojox/grid/resources/claroGrid.css";
</style>
<script type="text/javascript">
dojo.require("dijit.form.Form");
dojo.require("dijit.form.ValidationTextBox");
dojo.require("dojox.grid.DataGrid");
dojo.require("dojox.data.JsonRestStore");
</script>	
	<span jsId="projects" data-dojo-type="dojox.data.JsonRestStore" data-dojo-props="target: '/frontline/project'"></span>
	<table data-dojo-type="dojox.grid.DataGrid" data-dojo-props="store: projects" style="height: 300px">
		<thead>
			<tr>
				<th field="id" width="100px">ID</th>
				<th field="name" width="200px">Name</th>
				<th field="description" width="400px">Description</th>
				<th field="startDate" width="100px">Start date</th>
			</tr>
		</thead>
	</table>
</@layout.default>